package com.qfdu.repo.bean;

/**
 * @author 沐辰
 * @version v1.0
 * @description:
 * @project Qfed2401
 * @Date 2024/5/8 10:14
 * @company qf
 */
public class Product {
    private int id;
    private String pno;
    private String pname;
    private String paddr;
    private String pdate;
    private String enterdate;

    public Product() {
    }

    public Product(int id, String pno, String pname, String paddr, String pdate, String enterdate) {
        this.id = id;
        this.pno = pno;
        this.pname = pname;
        this.paddr = paddr;
        this.pdate = pdate;
        this.enterdate = enterdate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPaddr() {
        return paddr;
    }

    public void setPaddr(String paddr) {
        this.paddr = paddr;
    }

    public String getPdate() {
        return pdate;
    }

    public void setPdate(String pdate) {
        this.pdate = pdate;
    }

    public String getEnterdate() {
        return enterdate;
    }

    public void setEnterdate(String enterdate) {
        this.enterdate = enterdate;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", pno='" + pno + '\'' +
                ", pname='" + pname + '\'' +
                ", paddr='" + paddr + '\'' +
                ", pdate='" + pdate + '\'' +
                ", enterdate='" + enterdate + '\'' +
                '}';
    }
}
